/**
 * 根据分类好的图标名称列表生成不进行分类的图标名称列表
 *
 * @param {Record<string, string[]>} iconifySetIconsCategories 分类好的图标名称列表
 * @returns {string[]} 不进行分类的图标名称列表
 */
export const genSetIconsUnByCategories = (iconifySetIconsCategories: Record<string, string[]>): string[] => {
  const iconifySetIconsUncategorized: string[] = []
  for (const category in iconifySetIconsCategories) {
    iconifySetIconsUncategorized.push(...iconifySetIconsCategories[category])
  }
  return iconifySetIconsUncategorized
}

export type GenSetIconsUnByCategoriesType = typeof genSetIconsUnByCategories
